package com.hczt.xhminiapp.db.repository;

import com.hczt.xhminiapp.db.entity.Doctor;
import com.hczt.xhminiapp.db.entity.Patient;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 红创-马海强
 * @date 2019-03-06 15:36
 * @description
 */
public interface PatientRepository extends JpaRepository<Patient, String> {

    Patient findByOpenidAndDeletedIsFalse(String openid);

}
